package com.example.config;

import com.example.bean.DeviceConf;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * 类描述
 *
 * @author: Fred
 * @email 453086@qq.com
 * @create: 2024-10-19 15:25
 */
@Component
@ConfigurationProperties(prefix = "devices")
public class DeviceConfiguration {

    private List<DeviceConf> initialDevices;

    public List<DeviceConf> getInitialDevices() {
        return initialDevices;
    }

    public void setInitialDevices(List<DeviceConf> initialDevices) {
        this.initialDevices = initialDevices;
    }
}
